package com.itheima.package2_memory_optical;

public class Boy extends Thread {

    @Override
    public void run() {
        synchronized (this){
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        Money.money = 90000;}
    }
}
